package com.num2.model.wly;

import java.util.LinkedList;
import java.util.List;

import com.num2.util.Object2JsonUtil;

public class BalanceChartModel {
	private List<String> date = new LinkedList<String>();
	private List<Integer> balance = new LinkedList<Integer>();
	private String jDate;
	private String jBalance;
	
	public void setAttr2Json(){
		jDate = Object2JsonUtil.getJson(date);
		jBalance = Object2JsonUtil.getJson(balance);
	}
	
	public List<String> getDate() {
		return date;
	}
	public void setDate(List<String> date) {
		this.date = date;
	}
	public List<Integer> getBalance() {
		return balance;
	}
	public void setBalance(List<Integer> balance) {
		this.balance = balance;
	}
	public String getjDate() {
		return jDate;
	}
	public void setjDate(String jDate) {
		this.jDate = jDate;
	}
	public String getjBalance() {
		return jBalance;
	}
	public void setjBalance(String jBalance) {
		this.jBalance = jBalance;
	}

	@Override
	public String toString() {
		return "BalanceChartModel [jDate=" + jDate + ", jBalance=" + jBalance
				+ "]";
	}
	
}
